package net.zoneland.geological.usermanage.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

/**
 * 表   名：TBL_USER_ROLE<br/>
 * 注   释：用户角色表<br/>
 * 作   者：李义<br/>
 * 日   期：2017-05-28 20:56:36
**/
public class Tbl_user_role implements Serializable { 

	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	**/
	public String getUser_id(){
		return this.user_id == null ? "":this.user_id.trim() ;
	}

	/**
	 * 用户ID
	**/
	public void setUser_id(String _user_id ){
		this.user_id = ( _user_id == null ? "":_user_id.trim() );
	}

	/**
	 * 角色ID
	**/
	public String getRole_id(){
		return this.role_id == null ? "":this.role_id.trim() ;
	}

	/**
	 * 角色ID
	**/
	public void setRole_id(String _role_id ){
		this.role_id = ( _role_id == null ? "":_role_id.trim() );
	}	

	public Date getCreate_time() {
		return create_time;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	/**
	 * 
	**/
	public String getId(){
		return this.id == null ? "":this.id.trim() ;
	}

	/**
	 * 
	**/
	public void setId(String _id ){
		this.id = ( _id == null ? "":_id.trim() );
	}

	public String getUser_name() {
		return user_name;
	}

	public String getLogin_name() {
		return login_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public void setLogin_name(String login_name) {
		this.login_name = login_name;
	}

	public Integer getVersion() {
		return version;
	}

	public Integer getDeleted() {
		return deleted;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}

	/**
	 * 类属性声明
	**/
	/**
	 * 用户ID
	**/
	private String user_id = "";
	/**
	 * 信息版本号
	**/
	private Integer version = 1;
	/**
	 * 角色ID
	**/
	private String role_id = "";
	/**
	 * 创建时间
	**/
	private Date create_time = new Date();
	/**
	 * 更新时间
	**/
	private Date update_time = new Date();
	/**
	 * 是否已删除
	**/
	private Integer deleted = 0;

	private String id =  UUID.randomUUID().toString();
	
	private String user_name = null;
	
	private String login_name = null;
}
